package com.design.behavior.iterator.atguigu;

import java.util.Iterator;

/**
 * @ProjectName: design
 * @Package: com.design.behavior.iterator.atguigu
 * @ClassName: College
 * @Author: shenaiguo
 * @Description:
 * @Date: 2020/11/15 0015 16:36
 */
//步骤1
public interface College {
    public String getName();

    //增加系的方法
    public void addDepartment(String name, String desc);

    //返回一个迭代器,遍历
    public Iterator createIterator();
}
